package com.ruoyi.combat.domain.userlocation;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 抗定位任务对象 combat_location_task
 * 
 * @author ruoyi
 * @date 2024-08-30
 */
@ApiModel("用户抗定位任务信息")
public class CombatLocationTask extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @ApiModelProperty("抗定位任务id")
    private Long id;



    /** 告警信息id */
    @Excel(name = "告警信息id")
    @ApiModelProperty("告警信息id")
    private Long warnid;

    /** 抗定位方式 */
    @Excel(name = "抗定位方式")
    @ApiModelProperty("抗定位方式")
    private String method;

    /** 目标混淆位置 */
    @Excel(name = "目标混淆位置")
    @ApiModelProperty("目标混淆位置")
    private String targetLocation;

    /** 任务状态 */
    @Excel(name = "任务状态")
    @ApiModelProperty("任务状态")
    private String state;

    /** 抗定位后定位地点 */
    @Excel(name = "抗定位后定位地点")
    @ApiModelProperty("抗定位后定位地点")
    private String resultLocation;

    /** 抗定位后纬度 */
    @Excel(name = "抗定位后纬度")
    @ApiModelProperty("抗定位后纬度")
    private String resultLat;

    /** 抗定位后经度 */
    @Excel(name = "抗定位后经度")
    @ApiModelProperty("抗定位后经度")
    private String resultLon;

    /** 任务执行开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务执行开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("任务执行开始时间")
    private Date startime;

    /** 任务执行结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "任务执行结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    @ApiModelProperty("任务执行结束时间")
    private Date endtime;

    /** 任务执行日志 */
    @Excel(name = "任务执行日志")
    @ApiModelProperty("任务执行日志")
    private String methodLog;

    private String confuseText;

    private String confuseImgs;

    private String relationContent;
    private String userId;

    /** 用户表id */
    private Long useredId;


    public Long getUseredId() {
        return useredId;
    }

    public void setUseredId(Long useredId) {
        this.useredId = useredId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getRelationContent() {
        return relationContent;
    }

    public void setRelationContent(String relationContent) {
        this.relationContent = relationContent;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setWarnid(Long warnid) 
    {
        this.warnid = warnid;
    }

    public Long getWarnid() 
    {
        return warnid;
    }
    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }
    public void setTargetLocation(String targetLocation) 
    {
        this.targetLocation = targetLocation;
    }

    public String getTargetLocation() 
    {
        return targetLocation;
    }
    public void setState(String state) 
    {
        this.state = state;
    }

    public String getState() 
    {
        return state;
    }
    public void setResultLocation(String resultLocation) 
    {
        this.resultLocation = resultLocation;
    }

    public String getResultLocation() 
    {
        return resultLocation;
    }
    public void setResultLat(String resultLat) 
    {
        this.resultLat = resultLat;
    }

    public String getResultLat() 
    {
        return resultLat;
    }
    public void setResultLon(String resultLon) 
    {
        this.resultLon = resultLon;
    }

    public String getResultLon() 
    {
        return resultLon;
    }
    public void setStartime(Date startime) 
    {
        this.startime = startime;
    }

    public Date getStartime() 
    {
        return startime;
    }
    public void setEndtime(Date endtime) 
    {
        this.endtime = endtime;
    }

    public Date getEndtime() 
    {
        return endtime;
    }
    public void setMethodLog(String methodLog) 
    {
        this.methodLog = methodLog;
    }

    public String getMethodLog() 
    {
        return methodLog;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("warnid", getWarnid())
            .append("method", getMethod())
            .append("targetLocation", getTargetLocation())
            .append("state", getState())
            .append("resultLocation", getResultLocation())
            .append("resultLat", getResultLat())
            .append("resultLon", getResultLon())
            .append("startime", getStartime())
            .append("endtime", getEndtime())
            .append("methodLog", getMethodLog())
            .toString();
    }

    public String getConfuseText() {
        return confuseText;
    }

    public void setConfuseText(String confuseText) {
        this.confuseText = confuseText;
    }

    public String getConfuseImgs() {
        return confuseImgs;
    }

    public void setConfuseImgs(String confuseImgs) {
        this.confuseImgs = confuseImgs;
    }
}
